#include <stdio.h>
int main()
{
    int money, yb, ws, es, sy, wy, ey, yy;
    yb = 0;
    ws = 0;
    es = 0;
    sy = 0;
    wy = 0;
    ey = 0;
    yy = 0;
    scanf("%d", &money);
    yb = money / 100;
    money = money % 100;
    ws = money / 50;
    money = money % 50;
    es = money / 20;
    money = money % 20;
    sy = money / 10;
    money = money % 10;
    wy = money / 5;
    money = money % 5;
    ey = money / 2;
    money = money % 2;
    yy = money;
    printf("100元: %d张\n", yb);
    printf(" 50元: %d张\n", ws);
    printf(" 20元: %d张\n", es);
    printf(" 10元: %d张\n", sy);
    printf("  5元: %d张\n", wy);
    printf("  2元: %d张\n", ey);
    printf("  1元: %d张\n", yy);
    return 0;
}
//汉语拼音少拿来做变量名！！！！